package cn.kbyue.filesystem.rest;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author XL
 * @version 0.1
 * @date 2022/8/12 20:01
 */
@Controller
public class PageIndex {

    @GetMapping("/index")
    public String index (Model model) {
        model.addAttribute("message", "请选择上传文件");
        return "index";
    }

}
